#include<stdio.h>
#include<math.h>

int main (void)
{
	int n,i;
	double sum,item;
	sum = 0;
	
	printf("Enter n:");
	scanf("%d",&n);
	
	for (i=1;i<=n;i++)
	{
		item = sqrt(i);
		sum = sum + item;
	}
	
	printf("sum=%.2f",sum);
	
	return 0;
}
